Determines whether the
IDictionary contains an element with the specified key.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Function ContainsKey( _
ByVal key As TKey _
) As Boolean |
Parameters
- key
- The key to locate in the IDictionary.
Return Value
true if the
IDictionary contains an element with the key; otherwise, false.
Exceptions
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also